package com.fer.service;

import com.fer.model.Orders;

import java.util.List;

public interface OrdersService {
    //增加订单的方法哦
    boolean insertOrder(Orders orders,String[] goodsId);
    //这仨都是查询订单的方法呢
    Orders selectOneOrder(Integer order_id);
    List<Orders> selectOrdersByState(boolean is_finished,Integer shop_id);
    List<Orders> selectAllOrder(Integer shop_id);
    //这个是修改的方法哦
    boolean updateOrder(Orders order);
    //最后的删除方法啦
    void deleteOrder(Integer order_id);
}
